package com.wgy.designmode.action.command.commond;

import com.wgy.designmode.action.command.receiver.Soldier;

public class ForwardCommond implements Commond{

    private Soldier soldier;

    public ForwardCommond(Soldier soldier) {
        this.soldier = soldier;
    }

    @Override
    public void execute() {
        soldier.forward();
    }
}
